package com.uplooking.pojo;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

public class CustVOExample {
    protected String orderByClause;

    protected boolean distinct;
    
    protected Integer start;

	protected Integer limit;

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

    protected List<Criteria> oredCriteria;

    public CustVOExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCtidIsNull() {
            addCriterion("ctid is null");
            return (Criteria) this;
        }

        public Criteria andCtidIsNotNull() {
            addCriterion("ctid is not null");
            return (Criteria) this;
        }

        public Criteria andCtidEqualTo(String value) {
            addCriterion("ctid =", value, "ctid");
            return (Criteria) this;
        }

        public Criteria andCtidNotEqualTo(String value) {
            addCriterion("ctid <>", value, "ctid");
            return (Criteria) this;
        }

        public Criteria andCtidGreaterThan(String value) {
            addCriterion("ctid >", value, "ctid");
            return (Criteria) this;
        }

        public Criteria andCtidGreaterThanOrEqualTo(String value) {
            addCriterion("ctid >=", value, "ctid");
            return (Criteria) this;
        }

        public Criteria andCtidLessThan(String value) {
            addCriterion("ctid <", value, "ctid");
            return (Criteria) this;
        }

        public Criteria andCtidLessThanOrEqualTo(String value) {
            addCriterion("ctid <=", value, "ctid");
            return (Criteria) this;
        }

        public Criteria andCtidLike(String value) {
            addCriterion("ctid like", value, "ctid");
            return (Criteria) this;
        }

        public Criteria andCtidNotLike(String value) {
            addCriterion("ctid not like", value, "ctid");
            return (Criteria) this;
        }

        public Criteria andCtidIn(List<String> values) {
            addCriterion("ctid in", values, "ctid");
            return (Criteria) this;
        }

        public Criteria andCtidNotIn(List<String> values) {
            addCriterion("ctid not in", values, "ctid");
            return (Criteria) this;
        }

        public Criteria andCtidBetween(String value1, String value2) {
            addCriterion("ctid between", value1, value2, "ctid");
            return (Criteria) this;
        }

        public Criteria andCtidNotBetween(String value1, String value2) {
            addCriterion("ctid not between", value1, value2, "ctid");
            return (Criteria) this;
        }

        public Criteria andCtnameIsNull() {
            addCriterion("ctname is null");
            return (Criteria) this;
        }

        public Criteria andCtnameIsNotNull() {
            addCriterion("ctname is not null");
            return (Criteria) this;
        }

        public Criteria andCtnameEqualTo(String value) {
            addCriterion("ctname =", value, "ctname");
            return (Criteria) this;
        }

        public Criteria andCtnameNotEqualTo(String value) {
            addCriterion("ctname <>", value, "ctname");
            return (Criteria) this;
        }

        public Criteria andCtnameGreaterThan(String value) {
            addCriterion("ctname >", value, "ctname");
            return (Criteria) this;
        }

        public Criteria andCtnameGreaterThanOrEqualTo(String value) {
            addCriterion("ctname >=", value, "ctname");
            return (Criteria) this;
        }

        public Criteria andCtnameLessThan(String value) {
            addCriterion("ctname <", value, "ctname");
            return (Criteria) this;
        }

        public Criteria andCtnameLessThanOrEqualTo(String value) {
            addCriterion("ctname <=", value, "ctname");
            return (Criteria) this;
        }

        public Criteria andCtnameLike(String value) {
            addCriterion("ctname like", value, "ctname");
            return (Criteria) this;
        }

        public Criteria andCtnameNotLike(String value) {
            addCriterion("ctname not like", value, "ctname");
            return (Criteria) this;
        }

        public Criteria andCtnameIn(List<String> values) {
            addCriterion("ctname in", values, "ctname");
            return (Criteria) this;
        }

        public Criteria andCtnameNotIn(List<String> values) {
            addCriterion("ctname not in", values, "ctname");
            return (Criteria) this;
        }

        public Criteria andCtnameBetween(String value1, String value2) {
            addCriterion("ctname between", value1, value2, "ctname");
            return (Criteria) this;
        }

        public Criteria andCtnameNotBetween(String value1, String value2) {
            addCriterion("ctname not between", value1, value2, "ctname");
            return (Criteria) this;
        }

        public Criteria andCtsexIsNull() {
            addCriterion("ctsex is null");
            return (Criteria) this;
        }

        public Criteria andCtsexIsNotNull() {
            addCriterion("ctsex is not null");
            return (Criteria) this;
        }

        public Criteria andCtsexEqualTo(String value) {
            addCriterion("ctsex =", value, "ctsex");
            return (Criteria) this;
        }

        public Criteria andCtsexNotEqualTo(String value) {
            addCriterion("ctsex <>", value, "ctsex");
            return (Criteria) this;
        }

        public Criteria andCtsexGreaterThan(String value) {
            addCriterion("ctsex >", value, "ctsex");
            return (Criteria) this;
        }

        public Criteria andCtsexGreaterThanOrEqualTo(String value) {
            addCriterion("ctsex >=", value, "ctsex");
            return (Criteria) this;
        }

        public Criteria andCtsexLessThan(String value) {
            addCriterion("ctsex <", value, "ctsex");
            return (Criteria) this;
        }

        public Criteria andCtsexLessThanOrEqualTo(String value) {
            addCriterion("ctsex <=", value, "ctsex");
            return (Criteria) this;
        }

        public Criteria andCtsexLike(String value) {
            addCriterion("ctsex like", value, "ctsex");
            return (Criteria) this;
        }

        public Criteria andCtsexNotLike(String value) {
            addCriterion("ctsex not like", value, "ctsex");
            return (Criteria) this;
        }

        public Criteria andCtsexIn(List<String> values) {
            addCriterion("ctsex in", values, "ctsex");
            return (Criteria) this;
        }

        public Criteria andCtsexNotIn(List<String> values) {
            addCriterion("ctsex not in", values, "ctsex");
            return (Criteria) this;
        }

        public Criteria andCtsexBetween(String value1, String value2) {
            addCriterion("ctsex between", value1, value2, "ctsex");
            return (Criteria) this;
        }

        public Criteria andCtsexNotBetween(String value1, String value2) {
            addCriterion("ctsex not between", value1, value2, "ctsex");
            return (Criteria) this;
        }

        public Criteria andCtaddrIsNull() {
            addCriterion("ctaddr is null");
            return (Criteria) this;
        }

        public Criteria andCtaddrIsNotNull() {
            addCriterion("ctaddr is not null");
            return (Criteria) this;
        }

        public Criteria andCtaddrEqualTo(String value) {
            addCriterion("ctaddr =", value, "ctaddr");
            return (Criteria) this;
        }

        public Criteria andCtaddrNotEqualTo(String value) {
            addCriterion("ctaddr <>", value, "ctaddr");
            return (Criteria) this;
        }

        public Criteria andCtaddrGreaterThan(String value) {
            addCriterion("ctaddr >", value, "ctaddr");
            return (Criteria) this;
        }

        public Criteria andCtaddrGreaterThanOrEqualTo(String value) {
            addCriterion("ctaddr >=", value, "ctaddr");
            return (Criteria) this;
        }

        public Criteria andCtaddrLessThan(String value) {
            addCriterion("ctaddr <", value, "ctaddr");
            return (Criteria) this;
        }

        public Criteria andCtaddrLessThanOrEqualTo(String value) {
            addCriterion("ctaddr <=", value, "ctaddr");
            return (Criteria) this;
        }

        public Criteria andCtaddrLike(String value) {
            addCriterion("ctaddr like", value, "ctaddr");
            return (Criteria) this;
        }

        public Criteria andCtaddrNotLike(String value) {
            addCriterion("ctaddr not like", value, "ctaddr");
            return (Criteria) this;
        }

        public Criteria andCtaddrIn(List<String> values) {
            addCriterion("ctaddr in", values, "ctaddr");
            return (Criteria) this;
        }

        public Criteria andCtaddrNotIn(List<String> values) {
            addCriterion("ctaddr not in", values, "ctaddr");
            return (Criteria) this;
        }

        public Criteria andCtaddrBetween(String value1, String value2) {
            addCriterion("ctaddr between", value1, value2, "ctaddr");
            return (Criteria) this;
        }

        public Criteria andCtaddrNotBetween(String value1, String value2) {
            addCriterion("ctaddr not between", value1, value2, "ctaddr");
            return (Criteria) this;
        }

        public Criteria andCtphoneIsNull() {
            addCriterion("ctphone is null");
            return (Criteria) this;
        }

        public Criteria andCtphoneIsNotNull() {
            addCriterion("ctphone is not null");
            return (Criteria) this;
        }

        public Criteria andCtphoneEqualTo(String value) {
            addCriterion("ctphone =", value, "ctphone");
            return (Criteria) this;
        }

        public Criteria andCtphoneNotEqualTo(String value) {
            addCriterion("ctphone <>", value, "ctphone");
            return (Criteria) this;
        }

        public Criteria andCtphoneGreaterThan(String value) {
            addCriterion("ctphone >", value, "ctphone");
            return (Criteria) this;
        }

        public Criteria andCtphoneGreaterThanOrEqualTo(String value) {
            addCriterion("ctphone >=", value, "ctphone");
            return (Criteria) this;
        }

        public Criteria andCtphoneLessThan(String value) {
            addCriterion("ctphone <", value, "ctphone");
            return (Criteria) this;
        }

        public Criteria andCtphoneLessThanOrEqualTo(String value) {
            addCriterion("ctphone <=", value, "ctphone");
            return (Criteria) this;
        }

        public Criteria andCtphoneLike(String value) {
            addCriterion("ctphone like", value, "ctphone");
            return (Criteria) this;
        }

        public Criteria andCtphoneNotLike(String value) {
            addCriterion("ctphone not like", value, "ctphone");
            return (Criteria) this;
        }

        public Criteria andCtphoneIn(List<String> values) {
            addCriterion("ctphone in", values, "ctphone");
            return (Criteria) this;
        }

        public Criteria andCtphoneNotIn(List<String> values) {
            addCriterion("ctphone not in", values, "ctphone");
            return (Criteria) this;
        }

        public Criteria andCtphoneBetween(String value1, String value2) {
            addCriterion("ctphone between", value1, value2, "ctphone");
            return (Criteria) this;
        }

        public Criteria andCtphoneNotBetween(String value1, String value2) {
            addCriterion("ctphone not between", value1, value2, "ctphone");
            return (Criteria) this;
        }

        public Criteria andCtcareerIsNull() {
            addCriterion("ctcareer is null");
            return (Criteria) this;
        }

        public Criteria andCtcareerIsNotNull() {
            addCriterion("ctcareer is not null");
            return (Criteria) this;
        }

        public Criteria andCtcareerEqualTo(String value) {
            addCriterion("ctcareer =", value, "ctcareer");
            return (Criteria) this;
        }

        public Criteria andCtcareerNotEqualTo(String value) {
            addCriterion("ctcareer <>", value, "ctcareer");
            return (Criteria) this;
        }

        public Criteria andCtcareerGreaterThan(String value) {
            addCriterion("ctcareer >", value, "ctcareer");
            return (Criteria) this;
        }

        public Criteria andCtcareerGreaterThanOrEqualTo(String value) {
            addCriterion("ctcareer >=", value, "ctcareer");
            return (Criteria) this;
        }

        public Criteria andCtcareerLessThan(String value) {
            addCriterion("ctcareer <", value, "ctcareer");
            return (Criteria) this;
        }

        public Criteria andCtcareerLessThanOrEqualTo(String value) {
            addCriterion("ctcareer <=", value, "ctcareer");
            return (Criteria) this;
        }

        public Criteria andCtcareerLike(String value) {
            addCriterion("ctcareer like", value, "ctcareer");
            return (Criteria) this;
        }

        public Criteria andCtcareerNotLike(String value) {
            addCriterion("ctcareer not like", value, "ctcareer");
            return (Criteria) this;
        }

        public Criteria andCtcareerIn(List<String> values) {
            addCriterion("ctcareer in", values, "ctcareer");
            return (Criteria) this;
        }

        public Criteria andCtcareerNotIn(List<String> values) {
            addCriterion("ctcareer not in", values, "ctcareer");
            return (Criteria) this;
        }

        public Criteria andCtcareerBetween(String value1, String value2) {
            addCriterion("ctcareer between", value1, value2, "ctcareer");
            return (Criteria) this;
        }

        public Criteria andCtcareerNotBetween(String value1, String value2) {
            addCriterion("ctcareer not between", value1, value2, "ctcareer");
            return (Criteria) this;
        }

        public Criteria andCtstatusIsNull() {
            addCriterion("ctstatus is null");
            return (Criteria) this;
        }

        public Criteria andCtstatusIsNotNull() {
            addCriterion("ctstatus is not null");
            return (Criteria) this;
        }

        public Criteria andCtstatusEqualTo(Integer value) {
            addCriterion("ctstatus =", value, "ctstatus");
            return (Criteria) this;
        }

        public Criteria andCtstatusNotEqualTo(Integer value) {
            addCriterion("ctstatus <>", value, "ctstatus");
            return (Criteria) this;
        }

        public Criteria andCtstatusGreaterThan(Integer value) {
            addCriterion("ctstatus >", value, "ctstatus");
            return (Criteria) this;
        }

        public Criteria andCtstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("ctstatus >=", value, "ctstatus");
            return (Criteria) this;
        }

        public Criteria andCtstatusLessThan(Integer value) {
            addCriterion("ctstatus <", value, "ctstatus");
            return (Criteria) this;
        }

        public Criteria andCtstatusLessThanOrEqualTo(Integer value) {
            addCriterion("ctstatus <=", value, "ctstatus");
            return (Criteria) this;
        }

        public Criteria andCtstatusIn(List<Integer> values) {
            addCriterion("ctstatus in", values, "ctstatus");
            return (Criteria) this;
        }

        public Criteria andCtstatusNotIn(List<Integer> values) {
            addCriterion("ctstatus not in", values, "ctstatus");
            return (Criteria) this;
        }

        public Criteria andCtstatusBetween(Integer value1, Integer value2) {
            addCriterion("ctstatus between", value1, value2, "ctstatus");
            return (Criteria) this;
        }

        public Criteria andCtstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("ctstatus not between", value1, value2, "ctstatus");
            return (Criteria) this;
        }

        public Criteria andCsstatuszhIsNull() {
            addCriterion("csstatuszh is null");
            return (Criteria) this;
        }

        public Criteria andCsstatuszhIsNotNull() {
            addCriterion("csstatuszh is not null");
            return (Criteria) this;
        }

        public Criteria andCsstatuszhEqualTo(String value) {
            addCriterion("csstatuszh =", value, "csstatuszh");
            return (Criteria) this;
        }

        public Criteria andCsstatuszhNotEqualTo(String value) {
            addCriterion("csstatuszh <>", value, "csstatuszh");
            return (Criteria) this;
        }

        public Criteria andCsstatuszhGreaterThan(String value) {
            addCriterion("csstatuszh >", value, "csstatuszh");
            return (Criteria) this;
        }

        public Criteria andCsstatuszhGreaterThanOrEqualTo(String value) {
            addCriterion("csstatuszh >=", value, "csstatuszh");
            return (Criteria) this;
        }

        public Criteria andCsstatuszhLessThan(String value) {
            addCriterion("csstatuszh <", value, "csstatuszh");
            return (Criteria) this;
        }

        public Criteria andCsstatuszhLessThanOrEqualTo(String value) {
            addCriterion("csstatuszh <=", value, "csstatuszh");
            return (Criteria) this;
        }

        public Criteria andCsstatuszhLike(String value) {
            addCriterion("csstatuszh like", value, "csstatuszh");
            return (Criteria) this;
        }

        public Criteria andCsstatuszhNotLike(String value) {
            addCriterion("csstatuszh not like", value, "csstatuszh");
            return (Criteria) this;
        }

        public Criteria andCsstatuszhIn(List<String> values) {
            addCriterion("csstatuszh in", values, "csstatuszh");
            return (Criteria) this;
        }

        public Criteria andCsstatuszhNotIn(List<String> values) {
            addCriterion("csstatuszh not in", values, "csstatuszh");
            return (Criteria) this;
        }

        public Criteria andCsstatuszhBetween(String value1, String value2) {
            addCriterion("csstatuszh between", value1, value2, "csstatuszh");
            return (Criteria) this;
        }

        public Criteria andCsstatuszhNotBetween(String value1, String value2) {
            addCriterion("csstatuszh not between", value1, value2, "csstatuszh");
            return (Criteria) this;
        }

        public Criteria andCtuidIsNull() {
            addCriterion("ctuid is null");
            return (Criteria) this;
        }

        public Criteria andCtuidIsNotNull() {
            addCriterion("ctuid is not null");
            return (Criteria) this;
        }

        public Criteria andCtuidEqualTo(Integer value) {
            addCriterion("ctuid =", value, "ctuid");
            return (Criteria) this;
        }

        public Criteria andCtuidNotEqualTo(Integer value) {
            addCriterion("ctuid <>", value, "ctuid");
            return (Criteria) this;
        }

        public Criteria andCtuidGreaterThan(Integer value) {
            addCriterion("ctuid >", value, "ctuid");
            return (Criteria) this;
        }

        public Criteria andCtuidGreaterThanOrEqualTo(Integer value) {
            addCriterion("ctuid >=", value, "ctuid");
            return (Criteria) this;
        }

        public Criteria andCtuidLessThan(Integer value) {
            addCriterion("ctuid <", value, "ctuid");
            return (Criteria) this;
        }

        public Criteria andCtuidLessThanOrEqualTo(Integer value) {
            addCriterion("ctuid <=", value, "ctuid");
            return (Criteria) this;
        }

        public Criteria andCtuidIn(List<Integer> values) {
            addCriterion("ctuid in", values, "ctuid");
            return (Criteria) this;
        }

        public Criteria andCtuidNotIn(List<Integer> values) {
            addCriterion("ctuid not in", values, "ctuid");
            return (Criteria) this;
        }

        public Criteria andCtuidBetween(Integer value1, Integer value2) {
            addCriterion("ctuid between", value1, value2, "ctuid");
            return (Criteria) this;
        }

        public Criteria andCtuidNotBetween(Integer value1, Integer value2) {
            addCriterion("ctuid not between", value1, value2, "ctuid");
            return (Criteria) this;
        }

        public Criteria andCtunameIsNull() {
            addCriterion("ctuname is null");
            return (Criteria) this;
        }

        public Criteria andCtunameIsNotNull() {
            addCriterion("ctuname is not null");
            return (Criteria) this;
        }

        public Criteria andCtunameEqualTo(String value) {
            addCriterion("ctuname =", value, "ctuname");
            return (Criteria) this;
        }

        public Criteria andCtunameNotEqualTo(String value) {
            addCriterion("ctuname <>", value, "ctuname");
            return (Criteria) this;
        }

        public Criteria andCtunameGreaterThan(String value) {
            addCriterion("ctuname >", value, "ctuname");
            return (Criteria) this;
        }

        public Criteria andCtunameGreaterThanOrEqualTo(String value) {
            addCriterion("ctuname >=", value, "ctuname");
            return (Criteria) this;
        }

        public Criteria andCtunameLessThan(String value) {
            addCriterion("ctuname <", value, "ctuname");
            return (Criteria) this;
        }

        public Criteria andCtunameLessThanOrEqualTo(String value) {
            addCriterion("ctuname <=", value, "ctuname");
            return (Criteria) this;
        }

        public Criteria andCtunameLike(String value) {
            addCriterion("ctuname like", value, "ctuname");
            return (Criteria) this;
        }

        public Criteria andCtunameNotLike(String value) {
            addCriterion("ctuname not like", value, "ctuname");
            return (Criteria) this;
        }

        public Criteria andCtunameIn(List<String> values) {
            addCriterion("ctuname in", values, "ctuname");
            return (Criteria) this;
        }

        public Criteria andCtunameNotIn(List<String> values) {
            addCriterion("ctuname not in", values, "ctuname");
            return (Criteria) this;
        }

        public Criteria andCtunameBetween(String value1, String value2) {
            addCriterion("ctuname between", value1, value2, "ctuname");
            return (Criteria) this;
        }

        public Criteria andCtunameNotBetween(String value1, String value2) {
            addCriterion("ctuname not between", value1, value2, "ctuname");
            return (Criteria) this;
        }

        public Criteria andCttimeIsNull() {
            addCriterion("cttime is null");
            return (Criteria) this;
        }

        public Criteria andCttimeIsNotNull() {
            addCriterion("cttime is not null");
            return (Criteria) this;
        }

        public Criteria andCttimeEqualTo(Timestamp value) {
            addCriterion("cttime =", value, "cttime");
            return (Criteria) this;
        }

        public Criteria andCttimeNotEqualTo(Timestamp value) {
            addCriterion("cttime <>", value, "cttime");
            return (Criteria) this;
        }

        public Criteria andCttimeGreaterThan(Timestamp value) {
            addCriterion("cttime >", value, "cttime");
            return (Criteria) this;
        }

        public Criteria andCttimeGreaterThanOrEqualTo(Timestamp value) {
            addCriterion("cttime >=", value, "cttime");
            return (Criteria) this;
        }

        public Criteria andCttimeLessThan(Timestamp value) {
            addCriterion("cttime <", value, "cttime");
            return (Criteria) this;
        }

        public Criteria andCttimeLessThanOrEqualTo(Timestamp value) {
            addCriterion("cttime <=", value, "cttime");
            return (Criteria) this;
        }

        public Criteria andCttimeIn(List<Timestamp> values) {
            addCriterion("cttime in", values, "cttime");
            return (Criteria) this;
        }

        public Criteria andCttimeNotIn(List<Timestamp> values) {
            addCriterion("cttime not in", values, "cttime");
            return (Criteria) this;
        }

        public Criteria andCttimeBetween(Timestamp value1, Timestamp value2) {
            addCriterion("cttime between", value1, value2, "cttime");
            return (Criteria) this;
        }

        public Criteria andCttimeNotBetween(Timestamp value1, Timestamp value2) {
            addCriterion("cttime not between", value1, value2, "cttime");
            return (Criteria) this;
        }

        public Criteria andCtdescIsNull() {
            addCriterion("ctdesc is null");
            return (Criteria) this;
        }

        public Criteria andCtdescIsNotNull() {
            addCriterion("ctdesc is not null");
            return (Criteria) this;
        }

        public Criteria andCtdescEqualTo(String value) {
            addCriterion("ctdesc =", value, "ctdesc");
            return (Criteria) this;
        }

        public Criteria andCtdescNotEqualTo(String value) {
            addCriterion("ctdesc <>", value, "ctdesc");
            return (Criteria) this;
        }

        public Criteria andCtdescGreaterThan(String value) {
            addCriterion("ctdesc >", value, "ctdesc");
            return (Criteria) this;
        }

        public Criteria andCtdescGreaterThanOrEqualTo(String value) {
            addCriterion("ctdesc >=", value, "ctdesc");
            return (Criteria) this;
        }

        public Criteria andCtdescLessThan(String value) {
            addCriterion("ctdesc <", value, "ctdesc");
            return (Criteria) this;
        }

        public Criteria andCtdescLessThanOrEqualTo(String value) {
            addCriterion("ctdesc <=", value, "ctdesc");
            return (Criteria) this;
        }

        public Criteria andCtdescLike(String value) {
            addCriterion("ctdesc like", value, "ctdesc");
            return (Criteria) this;
        }

        public Criteria andCtdescNotLike(String value) {
            addCriterion("ctdesc not like", value, "ctdesc");
            return (Criteria) this;
        }

        public Criteria andCtdescIn(List<String> values) {
            addCriterion("ctdesc in", values, "ctdesc");
            return (Criteria) this;
        }

        public Criteria andCtdescNotIn(List<String> values) {
            addCriterion("ctdesc not in", values, "ctdesc");
            return (Criteria) this;
        }

        public Criteria andCtdescBetween(String value1, String value2) {
            addCriterion("ctdesc between", value1, value2, "ctdesc");
            return (Criteria) this;
        }

        public Criteria andCtdescNotBetween(String value1, String value2) {
            addCriterion("ctdesc not between", value1, value2, "ctdesc");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}